package com.bandapp.bo;

import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;

public class Band {

	private String bandname;
	private ArrayList<String> tabs;
	private URL bandfeed;
	private String imageForFeed;
	
	public Band(String bandname){
		this.bandname = bandname;
		/*
		 * tabs are being made by what the band wants , thus specifying the labels the tabs
		 * should have is of great importance, in the start those tabs will be static
		 */
		tabs = new ArrayList<String>();
		tabs.add("RSSFeed");
		tabs.add("Youtube Channel");
		tabs.add("Tourdates");
	}

	public void setImageForFeed(String imageForFeed){
		this.imageForFeed = imageForFeed;
	}
	
	public String getImageForFeed(){
		return this.imageForFeed;
	}
	
	public void setBandFeed(String bandfeed) throws MalformedURLException{
		this.bandfeed = new URL(bandfeed);
	}
	
	public URL getBandFeed(){
		return this.bandfeed;
	}
	
	public String getBandname() {
		return bandname;
	}
	
	public ArrayList<String> getTabs(){
		return tabs;
	}
	
}
